<template>
  <ElConfigProvider :size="appStore.size" :locale="appStore.locale">
    <router-view></router-view>
  </ElConfigProvider>
</template>

<script setup lang="ts">
import { ElConfigProvider } from 'element-plus';
import { useAllStore } from './stores';

const { appStore } = useAllStore();
</script>

<style>
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 0px;
}
</style>
